/*
 * Menu: Profiles > Create SJL Profile
 * License: EPL 1.0
 * DOM: http://localhost/com.aptana.ide.scripting
 */
 
function main() {

 	loadBundle("com.aptana.ide.editors");
    var profileObject = Packages.com.aptana.ide.editors.profiles.Profile;
    var profile = new profileObject("SJL", "sjl", true);
    var temp = new Array();
    var base = "bundleentry://com.sjl/libraries/lib/sjl/";
    var i = 0;
    temp[i] = bundles.resolveInternalUrl(base + "bootstrap.js");
    temp[i++] = bundles.resolveInternalUrl(base + "*.js");
    //temp[i++] = bundles.resolveInternalUrl(base + "bootstrap.sdoc");
	profile.addURIs(temp);
    profiles.addProfile(profile);
}
